package com.share.service;

import cn.hutool.db.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;
import com.share.user.admin.dtos.RefreshTokenRequest;
import com.share.user.admin.dtos.SysUserDTO;
import com.share.user.admin.pojos.SysUser;
import com.share.user.admin.vo.SysUserVo;
import com.share.user.admin.vo.TokenResponse;
import com.share.user.admin.vo.UserInfoVo;
import com.share.user.admin.vo.WebInfoVo;
import org.springframework.stereotype.Service;


/**
 * 用户服务
 */
@Service
public interface ISysUserService extends IService<SysUser> {

    /**
     * 刷新token
     * @param request
     * @return
     */
    TokenResponse refToken(RefreshTokenRequest request);

    /**
     * 注册账号
     * @param sysUserDTO
     * @return
     */
    //String register(SysUserDTO sysUserDTO);

    /**
     * 获取用户信息
     */
    UserInfoVo getUserInfo();


}
